package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class CustomerReportQuery extends QueryObject {
    //定义一个查询参数，给到sql执行
   private String keyword;
    public String groupType = "e.name";
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;       //结束时间
}
